package com.yuyu.commons.redis.constant;

/**
 * @description: order里的key
 * @author
 * @date 2022/8/9 15:12
 * @version 1.0
 */
public class KeyConstants {

    //查询订单前缀
    public final static String QUERY_PER= "order:query:one:";

    //商品库存前缀
    public final static String GOODS_STOCK_PRE="stock:goods:";

    //库存分布式锁key前缀
    public final static String DISTRIBUTE_GOODS_STOCK_PRE="distribute:goods:stock:";

    //订单分布式锁key前缀
    public final static String DISTRIBUTE_ORDER_PRE = "distribute:order:";

    //秒杀订单消费key
    public final static String ORDER_SKILL_MQ_CONSUME = "order:skill:mq:consume";

    //商品缓存key前缀
    public final static String GOODS_PRE = "GOODS:";

}
